   1              		.syntax unified
   2              		.cpu cortex-m3
   3              		.fpu softvfp
   4              		.eabi_attribute 20, 1
   5              		.eabi_attribute 21, 1
   6              		.eabi_attribute 23, 3
   7              		.eabi_attribute 24, 1
   8              		.eabi_attribute 25, 1
   9              		.eabi_attribute 26, 1
  10              		.eabi_attribute 30, 4
  11              		.eabi_attribute 34, 1
  12              		.eabi_attribute 18, 4
  13              		.thumb
  14              		.syntax unified
  15              		.file	"buffer.c"
  16              		.text
  17              	.Ltext0:
  18              		.cfi_sections	.debug_frame
  19              		.section	.text.buffer_Init,"ax",%progbits
  20              		.align	1
  21              		.global	buffer_Init
  22              		.thumb
  23              		.thumb_func
  25              	buffer_Init:
  26              	.LFB0:
  27              		.file 1 "uc_libc_dev/misc/buffer.c"
   1:uc_libc_dev/misc/buffer.c **** #include "buffer.h"
   2:uc_libc_dev/misc/buffer.c **** 
   3:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
   4:uc_libc_dev/misc/buffer.c **** // Descrição: 	Incializa o buffer com a posição de memória apontada pelo vetor
   5:uc_libc_dev/misc/buffer.c **** // Parametros: 	Endereço da estrutura do buffer, endereço do vetor de dados e o tamanho do vetor
   6:uc_libc_dev/misc/buffer.c **** // Retorna: 	Nada
   7:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
   8:uc_libc_dev/misc/buffer.c **** void buffer_Init(buffer_t *buffer, u8 *start, u16 size) {
  28              		.loc 1 8 0
  29              		.cfi_startproc
  30              		@ args = 0, pretend = 0, frame = 0
  31              		@ frame_needed = 0, uses_anonymous_args = 0
  32              		@ link register save eliminated.
  33              	.LVL0:
   9:uc_libc_dev/misc/buffer.c **** 	// set start pointer of the buffer
  10:uc_libc_dev/misc/buffer.c **** 	buffer->dataptr = start;
  11:uc_libc_dev/misc/buffer.c **** 	buffer->size = size;
  12:uc_libc_dev/misc/buffer.c **** 	// initialize index and length
  13:uc_libc_dev/misc/buffer.c **** 	buffer->dataindex = 0;
  34              		.loc 1 13 0
  35 0000 0023     		movs	r3, #0
  10:uc_libc_dev/misc/buffer.c **** 	buffer->size = size;
  36              		.loc 1 10 0
  37 0002 0160     		str	r1, [r0]
  11:uc_libc_dev/misc/buffer.c **** 	// initialize index and length
  38              		.loc 1 11 0
  39 0004 8280     		strh	r2, [r0, #4]	@ movhi
  40              		.loc 1 13 0
  41 0006 0381     		strh	r3, [r0, #8]	@ movhi
  14:uc_libc_dev/misc/buffer.c **** 	buffer->datalength = 0;
  42              		.loc 1 14 0
  43 0008 C380     		strh	r3, [r0, #6]	@ movhi
  44 000a 7047     		bx	lr
  45              		.cfi_endproc
  46              	.LFE0:
  48              		.section	.text.buffer_GetFromFront,"ax",%progbits
  49              		.align	1
  50              		.global	buffer_GetFromFront
  51              		.thumb
  52              		.thumb_func
  54              	buffer_GetFromFront:
  55              	.LFB1:
  15:uc_libc_dev/misc/buffer.c **** }
  16:uc_libc_dev/misc/buffer.c **** 
  17:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  18:uc_libc_dev/misc/buffer.c **** // Descrição: 	Retorna com o primeiro caractere do buffer e retira-o do buffer
  19:uc_libc_dev/misc/buffer.c **** // Parametros: 	Ponteiro da estrutura do buffer
  20:uc_libc_dev/misc/buffer.c **** // Retorna: 	Primeiro caractere do buffer
  21:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  22:uc_libc_dev/misc/buffer.c **** u8 buffer_GetFromFront(buffer_t *buffer) {
  56              		.loc 1 22 0
  57              		.cfi_startproc
  58              		@ args = 0, pretend = 0, frame = 0
  59              		@ frame_needed = 0, uses_anonymous_args = 0
  60              	.LVL1:
  61 0000 0346     		mov	r3, r0
  23:uc_libc_dev/misc/buffer.c **** 	u8 data = 0;
  24:uc_libc_dev/misc/buffer.c **** 	
  25:uc_libc_dev/misc/buffer.c **** 	// check to see if there's data in the buffer
  26:uc_libc_dev/misc/buffer.c **** 	if(buffer->datalength) {
  62              		.loc 1 26 0
  63 0002 C088     		ldrh	r0, [r0, #6]
  64              	.LVL2:
  22:uc_libc_dev/misc/buffer.c **** 	u8 data = 0;
  65              		.loc 1 22 0
  66 0004 10B5     		push	{r4, lr}
  67              	.LCFI0:
  68              		.cfi_def_cfa_offset 8
  69              		.cfi_offset 4, -8
  70              		.cfi_offset 14, -4
  71              		.loc 1 26 0
  72 0006 80B2     		uxth	r0, r0
  73 0008 D8B1     		cbz	r0, .L3
  27:uc_libc_dev/misc/buffer.c **** 		// get the first character from buffer
  28:uc_libc_dev/misc/buffer.c **** 		data = buffer->dataptr[buffer->dataindex];
  74              		.loc 1 28 0
  75 000a 1968     		ldr	r1, [r3]
  76 000c 1A89     		ldrh	r2, [r3, #8]
  77 000e 92B2     		uxth	r2, r2
  78 0010 885C     		ldrb	r0, [r1, r2]	@ zero_extendqisi2
  79              	.LVL3:
  29:uc_libc_dev/misc/buffer.c **** 		// move index down and decrement length
  30:uc_libc_dev/misc/buffer.c **** 		buffer->dataindex++;
  80              		.loc 1 30 0
  81 0012 1A89     		ldrh	r2, [r3, #8]
  82 0014 0132     		adds	r2, r2, #1
  83 0016 92B2     		uxth	r2, r2
  84 0018 1A81     		strh	r2, [r3, #8]	@ movhi
  31:uc_libc_dev/misc/buffer.c **** 		if(buffer->dataindex >= buffer->size) {
  85              		.loc 1 31 0
  86 001a 1989     		ldrh	r1, [r3, #8]
  87 001c 9A88     		ldrh	r2, [r3, #4]
  88 001e 89B2     		uxth	r1, r1
  89 0020 92B2     		uxth	r2, r2
  90 0022 9142     		cmp	r1, r2
  91 0024 09D3     		bcc	.L4
  32:uc_libc_dev/misc/buffer.c **** 			buffer->dataindex %= buffer->size;
  92              		.loc 1 32 0
  93 0026 9A88     		ldrh	r2, [r3, #4]
  94 0028 94B2     		uxth	r4, r2
  95 002a 1A89     		ldrh	r2, [r3, #8]
  96 002c 92B2     		uxth	r2, r2
  97 002e B2FBF4F1 		udiv	r1, r2, r4
  98 0032 04FB1122 		mls	r2, r4, r1, r2
  99 0036 92B2     		uxth	r2, r2
 100 0038 1A81     		strh	r2, [r3, #8]	@ movhi
 101              	.L4:
  33:uc_libc_dev/misc/buffer.c **** 		}
  34:uc_libc_dev/misc/buffer.c **** 		buffer->datalength--;
 102              		.loc 1 34 0
 103 003a DA88     		ldrh	r2, [r3, #6]
 104 003c 013A     		subs	r2, r2, #1
 105 003e 92B2     		uxth	r2, r2
 106 0040 DA80     		strh	r2, [r3, #6]	@ movhi
 107              	.LVL4:
 108              	.L3:
  35:uc_libc_dev/misc/buffer.c **** 	}
  36:uc_libc_dev/misc/buffer.c **** 	
  37:uc_libc_dev/misc/buffer.c **** 	return data;
  38:uc_libc_dev/misc/buffer.c **** }
 109              		.loc 1 38 0
 110 0042 10BD     		pop	{r4, pc}
 111              		.cfi_endproc
 112              	.LFE1:
 114              		.section	.text.buffer_DumpFromFront,"ax",%progbits
 115              		.align	1
 116              		.global	buffer_DumpFromFront
 117              		.thumb
 118              		.thumb_func
 120              	buffer_DumpFromFront:
 121              	.LFB2:
  39:uc_libc_dev/misc/buffer.c **** 
  40:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  41:uc_libc_dev/misc/buffer.c **** // Descrição: 	Elimina do buffer N bytes
  42:uc_libc_dev/misc/buffer.c **** // Parametros: 	Ponteiro para estrutura do buffer e quantidades de bytes
  43:uc_libc_dev/misc/buffer.c **** // Retorna: 	Nada
  44:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  45:uc_libc_dev/misc/buffer.c **** void buffer_DumpFromFront(buffer_t* buffer, u16 numbytes) {
 122              		.loc 1 45 0
 123              		.cfi_startproc
 124              		@ args = 0, pretend = 0, frame = 0
 125              		@ frame_needed = 0, uses_anonymous_args = 0
 126              	.LVL5:
  46:uc_libc_dev/misc/buffer.c **** 	// dump numbytes from the front of the buffer
  47:uc_libc_dev/misc/buffer.c **** 	// are we dumping less than the entire buffer?
  48:uc_libc_dev/misc/buffer.c **** 	if(numbytes < buffer->datalength) {
 127              		.loc 1 48 0
 128 0000 C388     		ldrh	r3, [r0, #6]
  45:uc_libc_dev/misc/buffer.c **** 	// dump numbytes from the front of the buffer
 129              		.loc 1 45 0
 130 0002 10B5     		push	{r4, lr}
 131              	.LCFI1:
 132              		.cfi_def_cfa_offset 8
 133              		.cfi_offset 4, -8
 134              		.cfi_offset 14, -4
 135              		.loc 1 48 0
 136 0004 9BB2     		uxth	r3, r3
 137 0006 8B42     		cmp	r3, r1
 138 0008 18D9     		bls	.L8
  49:uc_libc_dev/misc/buffer.c **** 		// move index down by numbytes and decrement length by numbytes
  50:uc_libc_dev/misc/buffer.c **** 		buffer->dataindex += numbytes;
 139              		.loc 1 50 0
 140 000a 0389     		ldrh	r3, [r0, #8]
 141 000c 0B44     		add	r3, r3, r1
 142 000e 9BB2     		uxth	r3, r3
 143 0010 0381     		strh	r3, [r0, #8]	@ movhi
  51:uc_libc_dev/misc/buffer.c **** 		if(buffer->dataindex >= buffer->size) {
 144              		.loc 1 51 0
 145 0012 0289     		ldrh	r2, [r0, #8]
 146 0014 8388     		ldrh	r3, [r0, #4]
 147 0016 92B2     		uxth	r2, r2
 148 0018 9BB2     		uxth	r3, r3
 149 001a 9A42     		cmp	r2, r3
 150 001c 09D3     		bcc	.L9
  52:uc_libc_dev/misc/buffer.c **** 			buffer->dataindex %= buffer->size;
 151              		.loc 1 52 0
 152 001e 8388     		ldrh	r3, [r0, #4]
 153 0020 9CB2     		uxth	r4, r3
 154 0022 0389     		ldrh	r3, [r0, #8]
 155 0024 9BB2     		uxth	r3, r3
 156 0026 B3FBF4F2 		udiv	r2, r3, r4
 157 002a 04FB1233 		mls	r3, r4, r2, r3
 158 002e 9BB2     		uxth	r3, r3
 159 0030 0381     		strh	r3, [r0, #8]	@ movhi
 160              	.L9:
  53:uc_libc_dev/misc/buffer.c **** 		}
  54:uc_libc_dev/misc/buffer.c **** 		buffer->datalength -= numbytes;
 161              		.loc 1 54 0
 162 0032 C388     		ldrh	r3, [r0, #6]
 163 0034 591A     		subs	r1, r3, r1
 164              	.LVL6:
 165 0036 89B2     		uxth	r1, r1
 166 0038 C180     		strh	r1, [r0, #6]	@ movhi
 167 003a 10BD     		pop	{r4, pc}
 168              	.LVL7:
 169              	.L8:
  55:uc_libc_dev/misc/buffer.c **** 	} else {
  56:uc_libc_dev/misc/buffer.c **** 		// flush the whole buffer
  57:uc_libc_dev/misc/buffer.c **** 		buffer->datalength = 0;
 170              		.loc 1 57 0
 171 003c 0023     		movs	r3, #0
 172 003e C380     		strh	r3, [r0, #6]	@ movhi
 173 0040 10BD     		pop	{r4, pc}
 174              		.cfi_endproc
 175              	.LFE2:
 177              		.section	.text.buffer_GetAtIndex,"ax",%progbits
 178              		.align	1
 179              		.global	buffer_GetAtIndex
 180              		.thumb
 181              		.thumb_func
 183              	buffer_GetAtIndex:
 184              	.LFB3:
  58:uc_libc_dev/misc/buffer.c **** 	}
  59:uc_libc_dev/misc/buffer.c **** }
  60:uc_libc_dev/misc/buffer.c **** 
  61:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  62:uc_libc_dev/misc/buffer.c **** // Descrição: 	Retorna o caractere apontado pelo indece
  63:uc_libc_dev/misc/buffer.c **** // Parametros:	Ponteiro para estrutura do buffer e o indice do dado
  64:uc_libc_dev/misc/buffer.c **** // Retorna: 	O caractere apontado pelo indece
  65:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  66:uc_libc_dev/misc/buffer.c **** u8 buffer_GetAtIndex(buffer_t* buffer, u16 index) {
 185              		.loc 1 66 0
 186              		.cfi_startproc
 187              		@ args = 0, pretend = 0, frame = 0
 188              		@ frame_needed = 0, uses_anonymous_args = 0
 189              	.LVL8:
 190 0000 10B5     		push	{r4, lr}
 191              	.LCFI2:
 192              		.cfi_def_cfa_offset 8
 193              		.cfi_offset 4, -8
 194              		.cfi_offset 14, -4
  67:uc_libc_dev/misc/buffer.c **** 	// return character at index in buffer
  68:uc_libc_dev/misc/buffer.c **** 	return buffer->dataptr[(buffer->dataindex+index)%(buffer->size)];
 195              		.loc 1 68 0
 196 0002 0468     		ldr	r4, [r0]
 197 0004 0389     		ldrh	r3, [r0, #8]
 198 0006 8288     		ldrh	r2, [r0, #4]
 199 0008 9BB2     		uxth	r3, r3
 200 000a 92B2     		uxth	r2, r2
 201 000c 1944     		add	r1, r1, r3
 202              	.LVL9:
 203 000e 91FBF2F3 		sdiv	r3, r1, r2
 204 0012 02FB1311 		mls	r1, r2, r3, r1
  69:uc_libc_dev/misc/buffer.c **** }
 205              		.loc 1 69 0
 206 0016 605C     		ldrb	r0, [r4, r1]	@ zero_extendqisi2
 207              	.LVL10:
 208 0018 10BD     		pop	{r4, pc}
 209              		.cfi_endproc
 210              	.LFE3:
 212              		.section	.text.buffer_AddToEnd,"ax",%progbits
 213              		.align	1
 214              		.global	buffer_AddToEnd
 215              		.thumb
 216              		.thumb_func
 218              	buffer_AddToEnd:
 219              	.LFB4:
  70:uc_libc_dev/misc/buffer.c **** 
  71:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  72:uc_libc_dev/misc/buffer.c **** // Descrição: 	Adiciona o caractere no fim do buffer
  73:uc_libc_dev/misc/buffer.c **** // Parametros: 	Ponteiro para estrutura do buffer e o dados a ser gravados
  74:uc_libc_dev/misc/buffer.c **** // Retorna: 	pdPASS se o dados for gravado com sucesso ou erro de acesso
  75:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  76:uc_libc_dev/misc/buffer.c **** int buffer_AddToEnd(buffer_t* buffer, u8 data) {
 220              		.loc 1 76 0
 221              		.cfi_startproc
 222              		@ args = 0, pretend = 0, frame = 0
 223              		@ frame_needed = 0, uses_anonymous_args = 0
 224              	.LVL11:
  77:uc_libc_dev/misc/buffer.c **** 	// make sure the buffer has room
  78:uc_libc_dev/misc/buffer.c **** 	if(buffer->datalength < buffer->size) {
 225              		.loc 1 78 0
 226 0000 C288     		ldrh	r2, [r0, #6]
 227 0002 8388     		ldrh	r3, [r0, #4]
 228 0004 92B2     		uxth	r2, r2
 229 0006 9BB2     		uxth	r3, r3
 230 0008 9A42     		cmp	r2, r3
  76:uc_libc_dev/misc/buffer.c **** 	// make sure the buffer has room
 231              		.loc 1 76 0
 232 000a 30B5     		push	{r4, r5, lr}
 233              	.LCFI3:
 234              		.cfi_def_cfa_offset 12
 235              		.cfi_offset 4, -12
 236              		.cfi_offset 5, -8
 237              		.cfi_offset 14, -4
 238              		.loc 1 78 0
 239 000c 12D2     		bcs	.L14
  79:uc_libc_dev/misc/buffer.c **** 		// save data byte at end of buffer
  80:uc_libc_dev/misc/buffer.c **** 		buffer->dataptr[(buffer->dataindex + buffer->datalength) % buffer->size] = data;
 240              		.loc 1 80 0
 241 000e 0568     		ldr	r5, [r0]
 242 0010 0389     		ldrh	r3, [r0, #8]
 243 0012 C288     		ldrh	r2, [r0, #6]
 244 0014 8488     		ldrh	r4, [r0, #4]
 245 0016 92B2     		uxth	r2, r2
 246 0018 9BB2     		uxth	r3, r3
 247 001a A4B2     		uxth	r4, r4
 248 001c 1344     		add	r3, r3, r2
 249 001e 93FBF4F2 		sdiv	r2, r3, r4
 250 0022 04FB1233 		mls	r3, r4, r2, r3
 251 0026 E954     		strb	r1, [r5, r3]
  81:uc_libc_dev/misc/buffer.c **** 		// increment the length
  82:uc_libc_dev/misc/buffer.c **** 		buffer->datalength++;
 252              		.loc 1 82 0
 253 0028 C388     		ldrh	r3, [r0, #6]
 254 002a 0133     		adds	r3, r3, #1
 255 002c 9BB2     		uxth	r3, r3
 256 002e C380     		strh	r3, [r0, #6]	@ movhi
  83:uc_libc_dev/misc/buffer.c **** 		// return success
  84:uc_libc_dev/misc/buffer.c **** 		return pdPASS;
 257              		.loc 1 84 0
 258 0030 0120     		movs	r0, #1
 259              	.LVL12:
 260 0032 30BD     		pop	{r4, r5, pc}
 261              	.LVL13:
 262              	.L14:
  85:uc_libc_dev/misc/buffer.c **** 	} else 
  86:uc_libc_dev/misc/buffer.c **** 		return errBUFFER_FULL;
 263              		.loc 1 86 0
 264 0034 6FF00900 		mvn	r0, #9
 265              	.LVL14:
  87:uc_libc_dev/misc/buffer.c **** }
 266              		.loc 1 87 0
 267 0038 30BD     		pop	{r4, r5, pc}
 268              		.cfi_endproc
 269              	.LFE4:
 271              		.section	.text.buffer_IsNotFull,"ax",%progbits
 272              		.align	1
 273              		.global	buffer_IsNotFull
 274              		.thumb
 275              		.thumb_func
 277              	buffer_IsNotFull:
 278              	.LFB5:
  88:uc_libc_dev/misc/buffer.c **** 
  89:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  90:uc_libc_dev/misc/buffer.c **** // Descrição: 	Verifica se o buffer esta cheio
  91:uc_libc_dev/misc/buffer.c **** // Parametros: 	Ponteiro para estrutura do buffer
  92:uc_libc_dev/misc/buffer.c **** // Retorna: 	Retorna pdTRUE se o buffer não está cheio
  93:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
  94:uc_libc_dev/misc/buffer.c **** int buffer_IsNotFull(buffer_t* buffer) {
 279              		.loc 1 94 0
 280              		.cfi_startproc
 281              		@ args = 0, pretend = 0, frame = 0
 282              		@ frame_needed = 0, uses_anonymous_args = 0
 283              		@ link register save eliminated.
 284              	.LVL15:
  95:uc_libc_dev/misc/buffer.c **** 	// check to see if the buffer has room
  96:uc_libc_dev/misc/buffer.c **** 	// return true if there is room
  97:uc_libc_dev/misc/buffer.c **** 	if (buffer->datalength < buffer->size)
 285              		.loc 1 97 0
 286 0000 C288     		ldrh	r2, [r0, #6]
 287 0002 8388     		ldrh	r3, [r0, #4]
 288 0004 92B2     		uxth	r2, r2
 289 0006 98B2     		uxth	r0, r3
 290              	.LVL16:
  98:uc_libc_dev/misc/buffer.c **** 		return pdTRUE;
  99:uc_libc_dev/misc/buffer.c **** 	else
 100:uc_libc_dev/misc/buffer.c **** 		return pdFALSE;
 101:uc_libc_dev/misc/buffer.c **** }
 291              		.loc 1 101 0
 292 0008 8242     		cmp	r2, r0
 293 000a 2CBF     		ite	cs
 294 000c 0020     		movcs	r0, #0
 295 000e 0120     		movcc	r0, #1
 296 0010 7047     		bx	lr
 297              		.cfi_endproc
 298              	.LFE5:
 300              		.section	.text.buffer_IsEmpty,"ax",%progbits
 301              		.align	1
 302              		.global	buffer_IsEmpty
 303              		.thumb
 304              		.thumb_func
 306              	buffer_IsEmpty:
 307              	.LFB6:
 102:uc_libc_dev/misc/buffer.c **** 
 103:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
 104:uc_libc_dev/misc/buffer.c **** // Descrição: 	Verifica se o buffer esta vazio
 105:uc_libc_dev/misc/buffer.c **** // Parametros: 	Ponteiro para estrutura do buffer
 106:uc_libc_dev/misc/buffer.c **** // Retorna: 	Retorna pdTRUE se o buffer está vazio
 107:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
 108:uc_libc_dev/misc/buffer.c **** int buffer_IsEmpty(buffer_t *buffer) {
 308              		.loc 1 108 0
 309              		.cfi_startproc
 310              		@ args = 0, pretend = 0, frame = 0
 311              		@ frame_needed = 0, uses_anonymous_args = 0
 312              		@ link register save eliminated.
 313              	.LVL17:
 109:uc_libc_dev/misc/buffer.c **** 	if (buffer->datalength == 0)
 314              		.loc 1 109 0
 315 0000 C088     		ldrh	r0, [r0, #6]
 316              	.LVL18:
 317 0002 80B2     		uxth	r0, r0
 110:uc_libc_dev/misc/buffer.c **** 		return pdTRUE;
 111:uc_libc_dev/misc/buffer.c **** 	else
 112:uc_libc_dev/misc/buffer.c **** 		return pdFALSE;
 113:uc_libc_dev/misc/buffer.c **** }
 318              		.loc 1 113 0
 319 0004 B0FA80F0 		clz	r0, r0
 320 0008 4009     		lsrs	r0, r0, #5
 321 000a 7047     		bx	lr
 322              		.cfi_endproc
 323              	.LFE6:
 325              		.section	.text.buffer_Clear,"ax",%progbits
 326              		.align	1
 327              		.global	buffer_Clear
 328              		.thumb
 329              		.thumb_func
 331              	buffer_Clear:
 332              	.LFB7:
 114:uc_libc_dev/misc/buffer.c **** 
 115:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
 116:uc_libc_dev/misc/buffer.c **** // Descrição: 	Limpa o buffer de recepção
 117:uc_libc_dev/misc/buffer.c **** // Parametros: 	Ponteiro para estrutura do buffer
 118:uc_libc_dev/misc/buffer.c **** // Retorna: 	Nada
 119:uc_libc_dev/misc/buffer.c **** //-------------------------------------------------------------------------------------------------
 120:uc_libc_dev/misc/buffer.c **** void buffer_Clear(buffer_t* buffer) {
 333              		.loc 1 120 0
 334              		.cfi_startproc
 335              		@ args = 0, pretend = 0, frame = 0
 336              		@ frame_needed = 0, uses_anonymous_args = 0
 337              		@ link register save eliminated.
 338              	.LVL19:
 121:uc_libc_dev/misc/buffer.c **** 	buffer->datalength = 0;
 339              		.loc 1 121 0
 340 0000 0023     		movs	r3, #0
 341 0002 C380     		strh	r3, [r0, #6]	@ movhi
 342 0004 7047     		bx	lr
 343              		.cfi_endproc
 344              	.LFE7:
 346              		.text
 347              	.Letext0:
 348              		.file 2 "uc_libc_dev/_libdef/uc_libdefs.h"
 349              		.file 3 "uc_libc_dev/misc/buffer.h"
DEFINED SYMBOLS
                            *ABS*:00000000 buffer.c
D:\_temp\_windows\cczTlYGq.s:20     .text.buffer_Init:00000000 $t
D:\_temp\_windows\cczTlYGq.s:25     .text.buffer_Init:00000000 buffer_Init
D:\_temp\_windows\cczTlYGq.s:49     .text.buffer_GetFromFront:00000000 $t
D:\_temp\_windows\cczTlYGq.s:54     .text.buffer_GetFromFront:00000000 buffer_GetFromFront
D:\_temp\_windows\cczTlYGq.s:115    .text.buffer_DumpFromFront:00000000 $t
D:\_temp\_windows\cczTlYGq.s:120    .text.buffer_DumpFromFront:00000000 buffer_DumpFromFront
D:\_temp\_windows\cczTlYGq.s:178    .text.buffer_GetAtIndex:00000000 $t
D:\_temp\_windows\cczTlYGq.s:183    .text.buffer_GetAtIndex:00000000 buffer_GetAtIndex
D:\_temp\_windows\cczTlYGq.s:213    .text.buffer_AddToEnd:00000000 $t
D:\_temp\_windows\cczTlYGq.s:218    .text.buffer_AddToEnd:00000000 buffer_AddToEnd
D:\_temp\_windows\cczTlYGq.s:272    .text.buffer_IsNotFull:00000000 $t
D:\_temp\_windows\cczTlYGq.s:277    .text.buffer_IsNotFull:00000000 buffer_IsNotFull
D:\_temp\_windows\cczTlYGq.s:301    .text.buffer_IsEmpty:00000000 $t
D:\_temp\_windows\cczTlYGq.s:306    .text.buffer_IsEmpty:00000000 buffer_IsEmpty
D:\_temp\_windows\cczTlYGq.s:326    .text.buffer_Clear:00000000 $t
D:\_temp\_windows\cczTlYGq.s:331    .text.buffer_Clear:00000000 buffer_Clear
                     .debug_frame:00000010 $d

NO UNDEFINED SYMBOLS
